package cn.iocoder.yudao.module.reading.controller.admin.audio.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Min;

/**
 * 音频资源更新排序 Request VO
 */
@Schema(description = "管理后台 - 音频资源更新排序 Request VO")
@Data
public class AudioResourceUpdateSortOrderReqVO {

    @Schema(description = "音频资源ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    @NotNull(message = "音频资源ID不能为空")
    private Long id;

    @Schema(description = "排序权重", requiredMode = Schema.RequiredMode.REQUIRED, example = "100")
    @NotNull(message = "排序权重不能为空")
    @Min(value = 0, message = "排序权重不能为负数")
    private Integer sortOrder;
}
